package com.symone.webcms.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.symone.webcms.model.Language;

import java.util.List;

/**
 *   @description : SysLanguage 服务接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2018-12-05
 */
public interface LanguageService extends IService<Language> {

        boolean insert(Language language);

        Page<Language> findPage(Page<Language> page, Wrapper<Language> sysLanguage);

        List<Language> findAll();

        int delete(long id);

        boolean deleteFlagById(long id);

        int clear();

}
